#ifndef AITEXTEDIT_H
#define AITEXTEDIT_H

#include <QObject>
#include <QTextEdit>
#include <QScrollBar>
#include <QMouseEvent>
#include <QPoint>
#include <QString>

class AiTextEdit : public QTextEdit
{
    Q_OBJECT
public:
    AiTextEdit(QWidget *parent = nullptr);
    ~AiTextEdit();

private:
    QScrollBar *m_scrollbar;
    QPoint m_startPos; // 鼠标按下时的位置

public:

private:
};

#endif // AITEXTEDIT_H